import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-sideNav',
  templateUrl: './sideNav.component.html',
  styleUrls: ['./sideNav.component.scss']
})
export class SideNavComponent implements OnInit {

  topLvlLinks = [
    { label: 'HOME', path: '/home', isActive: true }
  ];

  groups = [
    {
      id: 1, label: 'TASK', children: [
        { label: 'task list', path: '/task/list' },
      ]
    },
    {
      id: 2, label: 'DEMO2', children: [
        { label: 'DEMO1', path: '/demo/demo1' },
        { label: 'DEMO2', path: '/demo/demo2' },
        { label: 'DEMO3', path: '/demo/demo3' },
        { label: 'DEMO4', path: '/demo/demo4' },
        { label: 'DEMO5', path: '/demo/demo5' }
      ]
    }
  ];

  constructor() { }

  ngOnInit() {
  }

}
